
package com.mt.api.modules.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author plover
 * @description /
 * @date 2020-07-06
 **/
@Data
public class OutStoreDetailVo implements Serializable {

    private AppOrderSimpleVo order;

    private OutStoreSimpleVo outStore;

    private List<Detail> details;

    @Data
    public static class Detail {
        private Integer cargoId;

        @ApiModelProperty(value = "款号")
        private String cargoNo;

        @ApiModelProperty(value = "款号名称")
        private String cargoName;

        @ApiModelProperty(value = "批发价格")
        private String wholesalePrice;

        @ApiModelProperty(value = "款号图片")
        private String picUrl;

        @ApiModelProperty(value = "数量")
        private List<SkuInfo> skuInfoList;
    }

    @Data
    public static class SkuInfo {

        @ApiModelProperty(value = "id")
        private Integer id;

        @ApiModelProperty(value = "sku id")
        private Integer skuId;

        @ApiModelProperty(value = "货号")
        private String cargoNo;

        @ApiModelProperty(value = "颜色")
        private String color;

        @ApiModelProperty(value = "尺码")
        private String size;

        @ApiModelProperty(value = "数量")
        private Integer qty;

        @ApiModelProperty(value = "价格")
        private String price;

        @ApiModelProperty(value = "金额")
        private String amount;
    }

}